package com.cci.kangdao.fieldService.dto.response;

import com.cci.kangdao.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * @author William Du
 * @date 2020/1/7
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GetTemplateParamResponse extends BaseEntity {

    private String paramName;

    private String paramType;

    private String paramKey;

    private String requireType;

    private List<PickParamResponse> paramValueList;

    private Integer paramLength;

    private String standardKey;

    private Integer isExtra;

    private String extraType;

    private Integer extraLength;

    private String comments;

    private String paramValue;

    private GetTemplateStandardResponse standard;

    private List<String> extraData;

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public String getParamKey() {
        return paramKey;
    }

    public void setParamKey(String paramKey) {
        this.paramKey = paramKey;
    }

    public String getRequireType() {
        return requireType;
    }

    public void setRequireType(String requireType) {
        this.requireType = requireType;
    }

    public List<PickParamResponse> getParamValueList() {
        return paramValueList;
    }

    public void setParamValueList(List<PickParamResponse> paramValueList) {
        this.paramValueList = paramValueList;
    }

    public Integer getParamLength() {
        return paramLength;
    }

    public void setParamLength(Integer paramLength) {
        this.paramLength = paramLength;
    }

    public String getStandardKey() {
        return standardKey;
    }

    public void setStandardKey(String standardKey) {
        this.standardKey = standardKey;
    }

    public Integer getIsExtra() {
        return isExtra;
    }

    public void setIsExtra(Integer isExtra) {
        this.isExtra = isExtra;
    }

    public String getExtraType() {
        return extraType;
    }

    public void setExtraType(String extraType) {
        this.extraType = extraType;
    }

    public Integer getExtraLength() {
        return extraLength;
    }

    public void setExtraLength(Integer extraLength) {
        this.extraLength = extraLength;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getParamValue() {
        return paramValue;
    }

    public void setParamValue(String paramValue) {
        this.paramValue = paramValue;
    }

    public GetTemplateStandardResponse getStandard() {
        return standard;
    }

    public void setStandard(GetTemplateStandardResponse standard) {
        this.standard = standard;
    }

    public List<String> getExtraData() {
        return extraData;
    }

    public void setExtraData(List<String> extraData) {
        this.extraData = extraData;
    }

    public static class PickParamResponse extends BaseEntity{

        private String pickListKey;

        private String pickListValue;

        public String getPickListKey() {
            return pickListKey;
        }

        public void setPickListKey(String pickListKey) {
            this.pickListKey = pickListKey;
        }

        public String getPickListValue() {
            return pickListValue;
        }

        public void setPickListValue(String pickListValue) {
            this.pickListValue = pickListValue;
        }
    }
}
